export default {
    "名称": "相思寒针",
    "备注": "令目标无法使用灵宝，并且封印命中率降低50%，持续2/4/8回合。",
    "灵宝算法": function (fight_data, src_unit, target_unit, lb, consummer) {
        let hh = 1;
        if (consummer === 1) {
            hh = 2;
        } else if (consummer === 3) {
            hh = 4;
        } else if (consummer === 7) {
            hh = 8;
        }
        src_unit["相思寒针"] = {
            "封印命中等级": lb["境界"] * 0.1 + 0.5,
            "回合": hh
        };
        G.FightComputingUtils.computing_skill(fight_data, src_unit, target_unit, lb["名称"]);
    },
}